package com.arpa.wms.mapper;

import com.arpa.wms.domain.dto.PrepackagedItemDTO;
import com.arpa.wms.domain.entity.PrepackagedItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 预打包单 Mapper 接口
 * </p>
 *
 * @author leo
 * @since 2021-07-02
 */
public interface PrepackagedItemMapper extends BaseMapper<PrepackagedItem> {
    int adjustDistributionQuantity(PrepackagedItemDTO prepackagedItemDTO);

    /***
     * @description
     * 根据预打包单号，更新预打包明细拣货数量
     * @author rfwang
     * @date 2021年7月7日
     * @param prepackagedCode:
     **/
    int updatePickingQuantity(@Param("prepackagedCode") String prepackagedCode);
}
